package com.bluestone.scripts;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlValue;

/**
 * <pre>
 * 
 * Accela IVR
 * Created Date: Sep 14, 2009
 * 
 * Accela, Inc.
 * Copyright (C): 2009
 * 
 * Description: 
 * 
 * 
 * Notes:
 * $Id: KeyValueEntry.java jliu $
 * </pre>
 */

@XmlAccessorType(XmlAccessType.FIELD)
public class KeyValueEntry implements Cloneable
{
	
	@XmlAttribute(name = "key")
    private final String key;
	@XmlValue
    private final String value;

    public KeyValueEntry(String key, String value) {
        this.key = key;
        this.value = value;
    }

    public KeyValueEntry() {
        this.key = null;
        this.value = null;
    }

    public String getKey() {
        return key;
    }

    public String getValue() {
        return value;
    }

}
